<template>
  <main>
    <div class="container">
      <h1>欢迎使用 VUE3 待办事项！</h1>
      <todo-add/>
      <todo-filer/>
      <todo-list/>
    </div>
  </main>
</template>

<script>
import TodoAdd from './components/TodoAdd.vue';
import TodoFiler from './components/TodoFiler.vue';
import TodoList from './components/TodoList.vue';
export default {
  components: { TodoAdd, TodoFiler, TodoList },
  name: "App",
};
</script>

<style>
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Helvetica, "PingFang Sc", "Micrsoft Yahei", sans-serif;
}

/* 整个页面 */
main {
  width: 100vw;
  height: 100vh;
  display: grid;
  align-items: center;
  justify-items: center;
  background: rgb(203, 210, 240);
}

.container {
  width: 60%;
  max-width: 400px;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  padding: 48px 28px;
  background-color: rgb(245, 246, 252);
}

/* 标题 */
h1 {
  margin: 24px 0;
  font-size: 28px;
  color: #414873;
}
</style>
